export const PHP_IDS: { [key: string]: string } = {
  PHP_SYNTAX: 'PHP_SYNTAX',
  PHP_COMMENTS: 'PHP_COMMENTS',
  PHP_VARIABLES: 'PHP_VARIABLES',
  PHP_ECHO: 'PHP_ECHO',
  PHP_DATATYPES: 'PHP_DATATYPES',
  PHP_STRING: 'PHP_STRING',
  PHP_NUMBERS: 'PHP_NUMBERS',
  PHP_MATH: 'PHP_MATH',
  PHP_CONSTANTS: 'PHP_CONSTANTS',
  PHP_OPERATORS: 'PHP_OPERATORS',
  PHP_CONDITIONALS: 'PHP_CONDITIONALS',
  PHP_SWITCH: 'PHP_SWITCH',
  PHP_LOOPS: 'PHP_LOOPS',
  PHP_FUNCTIONS: 'PHP_FUNCTIONS',
  PHP_ARRAYS: 'PHP_ARRAYS',
  PHP_SUPERGLOBAL: 'PHP_SUPERGLOBAL',
  PHP_REGEX: 'PHP_REGEX',
  PHP_FORMS: 'PHP_FORMS',
  PHP_FORMVALIDATION: 'PHP_FORMVALIDATION',
  PHP_FORMREQUIRED: 'PHP_FORMREQUIRED'
};

export const PHP_TEMPLATES = {
  [PHP_IDS.PHP_SYNTAX]: async () => (await import('./001_php_syntax')).default,
  [PHP_IDS.PHP_COMMENTS]: async () => (await import('./002_php_comments')).default,
  [PHP_IDS.PHP_VARIABLES]: async () => (await import('./003_php_variables')).default,
  [PHP_IDS.PHP_ECHO]: async () => (await import('./004_php_echo')).default,
  [PHP_IDS.PHP_DATATYPES]: async () => (await import('./005_php_dataTypes')).default,
  [PHP_IDS.PHP_STRING]: async () => (await import('./006_php_string')).default,
  [PHP_IDS.PHP_NUMBERS]: async () => (await import('./007_php_numbers')).default,
  [PHP_IDS.PHP_MATH]: async () => (await import('./008_php_math')).default,
  [PHP_IDS.PHP_CONSTANTS]: async () => (await import('./009_php_constants')).default,
  [PHP_IDS.PHP_OPERATORS]: async () => (await import('./010_php_operators')).default,
  [PHP_IDS.PHP_CONDITIONALS]: async () => (await import('./011_php_conditionals')).default,
  [PHP_IDS.PHP_SWITCH]: async () => (await import('./012_php_switch')).default,
  [PHP_IDS.PHP_LOOPS]: async () => (await import('./013_php_loops')).default,
  [PHP_IDS.PHP_FUNCTIONS]: async () => (await import('./014_php_functions')).default,
  [PHP_IDS.PHP_ARRAYS]: async () => (await import('./015_php_arrays')).default,
  [PHP_IDS.PHP_SUPERGLOBAL]: async () => (await import('./016_php_superGlobal')).default,
  [PHP_IDS.PHP_REGEX]: async () => (await import('./017_php_regex')).default,
  [PHP_IDS.PHP_FORMS]: async () => (await import('./018_php_forms')).default,
  [PHP_IDS.PHP_FORMVALIDATION]: async () => (await import('./019_php_formValidation')).default,
  [PHP_IDS.PHP_FORMREQUIRED]: async () => (await import('./020_php_formRequired')).default
};
